<template>
  <div>
    <xy-alert></xy-alert>


    <xy-loading></xy-loading>



     <v-btn @click="customLoading">loading</v-btn>

  </div>
</template>

<script>
  /**
   *
   * @author Canaan
   * @date 2019/8/10 12:30.
   */



   import xyLoading from '../../views/plugins/Loading';

  export default {
    name: 'testIndex',
    mounted() {

    },
    components: {

        xyLoading
    },
    props: {},
    data() {
      return {}
    },
    computed: {},
    methods: {




      customLoading() {

        this.$loading.show("加载中...")
      },



    },
    watch: {},
    filters: {},
    beforeDestroy() {

    }
  }

</script>

<style scoped>

</style>
